package com.kissoft.mgr.ctrler;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/announce")
public class AnnounceCtrler {

	@RequestMapping(value="/index.do", method = RequestMethod.GET)
	public ModelAndView index(){
		
		ModelAndView mav = new ModelAndView();
		mav.addObject("title", "공지사항 관리");
		mav.addObject("menu", "announce");
		mav.setViewName("layout.default.announce.index");
		
		return mav;
	}
	
/*	@RequestMapping(value="/edit.do", method = RequestMethod.GET)
	public ModelAndView edit(){
		
		ModelAndView mav = new ModelAndView();
		mav.setViewName("/announce/edit");
		
		return mav;
	}*/
}
